package com.cssl.openFeign;

import com.cssl.domain.dto.DtskeywordDto;
import com.cssl.util.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.Map;

@FeignClient(value = "DtsShopProvider9090",path = "/keyword",contextId = "78")
public interface DtskeywordClient {
    @PostMapping("/list")
    Result dtskeywordlist(@RequestBody DtskeywordDto dtskeywordDto);
    @DeleteMapping("/delete")
    Result keyworddelete(@RequestParam("ids") String ids);

    @PostMapping("/keywordupdate")
    Result keywordupdate(@RequestBody Map keywordupdate);
    @PostMapping("/addkeyword")
    Result addkeyword(@RequestBody Map addkeyword);
}
